package com.testcolision.screens;

import com.badlogic.gdx.InputAdapter;
import com.badlogic.gdx.Screen;

public abstract class ExtendedScreen extends InputAdapter implements Screen {

	/** Called when the screen should update itself, e.g. continue a simulation etc.
	 */
	public abstract void update (float delta);

	/** Called when a screen should render itself
	 */
	public abstract void draw (float delta);

	/** Called by GdxInvaders to check whether the screen is done.
	 * @return true when the screen is done, false otherwise */
	public abstract boolean isDone ();

	@Override
	public void render (float delta) {
		update(delta);
		draw(delta);
	}
	
	@Override
	public void resize(int width, int height) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void show() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void hide() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void pause() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void resume() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void dispose() {
		// TODO Auto-generated method stub
		
	}

}
